package com.pt25.service.sys.interfaces.facade.test;


import com.pt25.base.res.ResBody;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@Tag(name = "sys test api")
@RefreshScope
@RestController
@RequestMapping("/test-api/sys")
public class SysTestController {

    @Operation(summary = "测试swagger功能")
    @GetMapping("/swagger")
    public ResBody test() {
        return ResBody.builder().build().ok("haha");
    }
}
